]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
17 years agoshell-global.c: remove a log message about missing 'Categories' key in the desktop...
Marina Zhurakhinskaya [Thu, 22 Jan 2009 21:28:19 +0000 (21:28 +0000)]
shell-global.c: remove a log message about missing 'Categories' key in the desktop file, as this key is not required

main.js: set desktop environment to "GNOME" so that GIO can determine correctly which applications should be shown in the menus.

appDisplay.js: filter out applications that should not be shown in the menus, check if get_executable() for GAppInfo is not null before using it

svn path=/trunk/; revision=163

17 years agoBug 568625: Ignore extra whitespace in search
Colin Walters [Wed, 21 Jan 2009 22:37:02 +0000 (22:37 +0000)]
Bug 568625: Ignore extra whitespace in search

svn path=/trunk/; revision=162

17 years agoBug 568624: Make overlay search case insensitive
Colin Walters [Wed, 21 Jan 2009 22:36:53 +0000 (22:36 +0000)]
Bug 568624: Make overlay search case insensitive

svn path=/trunk/; revision=161

17 years agofix workspaces padding a little. (it's still not quite right)
Dan Winship [Wed, 21 Jan 2009 21:59:58 +0000 (21:59 +0000)]
fix workspaces padding a little. (it's still not quite right)

svn path=/trunk/; revision=160

17 years agoGet categories from the desktop files for all applications
Marina Zhurakhinskaya [Wed, 21 Jan 2009 21:50:57 +0000 (21:50 +0000)]
Get categories from the desktop files for all applications
and use them when finding matching applications for the search in the overlay mode.

svn path=/trunk/; revision=159

17 years agoHighlight the current workspace in the overlay view
Dan Winship [Wed, 21 Jan 2009 21:12:49 +0000 (21:12 +0000)]
Highlight the current workspace in the overlay view

Needs cooler-ness.

svn path=/trunk/; revision=158

17 years agoClean up Workspace animation. #567865
Dan Winship [Wed, 21 Jan 2009 20:35:20 +0000 (20:35 +0000)]
Clean up Workspace animation. #567865

Use Tweener.registerSpecialPropertyModifier to handle moving windows in
straight lines on the screen even while their parent workspaces are also
moving.

Have the remove buttons track their parent workspace scale and deal with
it automatically rather than having special cases in each Workspace method.

svn path=/trunk/; revision=157

17 years agoAdapt to new Tweener frame ticker API
Owen Taylor [Tue, 20 Jan 2009 18:32:25 +0000 (18:32 +0000)]
Adapt to new Tweener frame ticker API

Now that getTime() has been added to the frame ticker interface
we can implement frame dropping in a more straightforward way
than adjusting the FRAME_RATE member variable to fool Tweener
into doing the right thing.

svn path=/trunk/; revision=156

17 years agoadd a missing ";"
Dan Winship [Tue, 20 Jan 2009 18:20:41 +0000 (18:20 +0000)]
add a missing ";"

svn path=/trunk/; revision=155

17 years agoFix closing of loop variable which caused error messages
Colin Walters [Tue, 20 Jan 2009 16:13:41 +0000 (16:13 +0000)]
Fix closing of loop variable which caused error messages

Can't close over loop variables in that way; need to define an explicit var.

Also fix case where no title is defined yet when attempting to adjust.

svn path=/trunk/; revision=154

17 years agoAdd a panel containing tasklist to bottom screen
Colin Walters [Mon, 19 Jan 2009 23:21:57 +0000 (23:21 +0000)]
Add a panel containing tasklist to bottom screen

This is implemented as a separate process, since creating and running
toplevel windows from inside Metacity has issues.

We now grab a DBus name, and exec the child process.  The child monitors
our name to know when to exit.

svn path=/trunk/; revision=153

17 years agoMerge branch 'workspace-salon'
Colin Walters [Mon, 19 Jan 2009 23:06:59 +0000 (23:06 +0000)]
Merge branch 'workspace-salon'

Conflicts:
src/shell-global.c

svn path=/trunk/; revision=152

17 years agoEscape % in g_app_info_create_from_commandline
Owen Taylor [Sat, 17 Jan 2009 14:41:45 +0000 (14:41 +0000)]
Escape % in g_app_info_create_from_commandline

g_app_info_create_from_commandline supports % escapes for
file name, icon name, etc, so we need to escape the command line
we pass in. If it contains an URL with url-encoded UTF-8 it will
typically have some percent signs.

(Reported by Achim Frase)

svn path=/trunk/; revision=151

17 years agoFix include path to libgnomeui/gnome-thumbnail.h
Owen Taylor [Sat, 17 Jan 2009 13:44:44 +0000 (13:44 +0000)]
Fix include path to libgnomeui/gnome-thumbnail.h

Remove a stray libgnomeui-2.0/ (Michael Monreal)

svn path=/trunk/; revision=150

17 years agoCleanup: use destructuring assignment
Owen Taylor [Fri, 16 Jan 2009 20:40:16 +0000 (20:40 +0000)]
Cleanup: use destructuring assignment

For multiple return values use

 let [val1, val2, val3] = function();

Rather than:

 temp = function();
 val1 = temp[0];
 ...

svn path=/trunk/; revision=149

17 years agoInclude generated enumeration types when scanning
Owen Taylor [Fri, 16 Jan 2009 20:10:26 +0000 (20:10 +0000)]
Include generated enumeration types when scanning

gjs requires flags types to be registered with GObject to
work properly; g-ir-scanner requires the get_type() functions
to be present in a scanned header in order to find the
GObject type for a flag. So pass {tidy,big}-enum-types.h to
the scanner as appropriate.

svn path=/trunk/; revision=148

17 years agoMake sure the animation always starts from the first frame, even if the
Dan Winship [Tue, 13 Jan 2009 20:49:31 +0000 (20:49 +0000)]
Make sure the animation always starts from the first frame, even if the
system is really busy and ClutterTimeline doesn't get a chance to call
us until it thinks several frames have passed

svn path=/trunk/; revision=147

17 years agoload the GAppInfos at startup time rather than waiting until the overlay
Dan Winship [Tue, 13 Jan 2009 20:45:54 +0000 (20:45 +0000)]
load the GAppInfos at startup time rather than waiting until the overlay
is opened for the first time

svn path=/trunk/; revision=146

17 years agoRemove unused workspaces at startup (since mutter uses the same gconf
Dan Winship [Tue, 13 Jan 2009 20:43:03 +0000 (20:43 +0000)]
Remove unused workspaces at startup (since mutter uses the same gconf
prefs as metacity, we're likely to start out with 4 workspaces)

svn path=/trunk/; revision=145

17 years agoupdate default apps list a little more: remove evince, totem, file-roller,
Dan Winship [Tue, 13 Jan 2009 20:07:57 +0000 (20:07 +0000)]
update default apps list a little more: remove evince, totem, file-roller,
which you don't launch on their own, only with a document

svn path=/trunk/; revision=144

17 years agoDisplay thumbnails of recent files in the overlay mode by using GnomeThumbnailFactory...
Marina Zhurakhinskaya [Fri, 9 Jan 2009 01:09:35 +0000 (01:09 +0000)]
Display thumbnails of recent files in the overlay mode by using GnomeThumbnailFactory to get them. Fall back to the system icon for the file type provided by GtkRecentInfo when a thumbnail is not available.

svn path=/trunk/; revision=143

17 years agoPass the right 'this' to switchWorkspaceDone
Owen Taylor [Thu, 8 Jan 2009 23:34:19 +0000 (23:34 +0000)]
Pass the right 'this' to switchWorkspaceDone

switchWorkspaceDone was being called with the wrong 'this', causing
ShellWM.completed_switch_workspace() never to be called, causing stacking
order to get confused.

http://bugzilla.gnome.org/show_bug.cgi?id=567091

svn path=/trunk/; revision=142

17 years agoCheck if the file still exists when displaying matches for the search.
Marina Zhurakhinskaya [Thu, 8 Jan 2009 23:31:23 +0000 (23:31 +0000)]
Check if the file still exists when displaying matches for the search.

Use get_modified() instead of get_visited() for GtkRecentInfo as get_modified() seems to reflect when the file was last modified or visted, while get_visited() stays the same as get_added(). See http://bugzilla.gnome.org/show_bug.cgi?id=567094

svn path=/trunk/; revision=141

17 years agoBug 563394 - revert change to run overlay key in idle
Colin Walters [Wed, 7 Jan 2009 22:19:46 +0000 (22:19 +0000)]
Bug 563394 - revert change to run overlay key in idle

This was likely a different bug, possibly the OOM after a period of time.
It seems reliable for me now without the idle.

svn path=/trunk/; revision=140

17 years agoimplement some basic window management effects. #563844
Jonathan Matthew [Mon, 29 Dec 2008 04:44:03 +0000 (04:44 +0000)]
implement some basic window management effects.  #563844

svn path=/trunk/; revision=139

17 years agoAdd (+) and (-) icons for workspace management to the overlay
Dan Winship [Mon, 22 Dec 2008 22:06:47 +0000 (22:06 +0000)]
Add (+) and (-) icons for workspace management to the overlay

svn path=/trunk/; revision=137

17 years agoAdd (+) and (-) icon artwork, and a little bit of infrastructure for them
Dan Winship [Mon, 22 Dec 2008 22:05:56 +0000 (22:05 +0000)]
Add (+) and (-) icon artwork, and a little bit of infrastructure for them

svn path=/trunk/; revision=136

17 years agosplit out a Workspace class from Workspaces, reorganize for that
Dan Winship [Mon, 22 Dec 2008 21:51:34 +0000 (21:51 +0000)]
split out a Workspace class from Workspaces, reorganize for that

svn path=/trunk/; revision=135

17 years agoMove Workspaces-size computation into Workspaces
Dan Winship [Mon, 22 Dec 2008 21:50:23 +0000 (21:50 +0000)]
Move Workspaces-size computation into Workspaces

svn path=/trunk/; revision=134

17 years agoConvert to gnome-shell-plugin to new plugin style
Owen Taylor [Mon, 22 Dec 2008 21:05:08 +0000 (21:05 +0000)]
Convert to gnome-shell-plugin to new plugin style

The plugin-gobject branch of Mutter (now merged into our branch) converts
plugins to more-standard GObject GTypePlugin, with the plugin itself
being a GObject class.

gnome-shell-plugin.c: Switch plugin to the new scheme
shell-wm.[ch]: Forward effect signals to ShellWM rather than hooking
  directly into the plugin vtable.
default: Remove this (accidentally committed) file

svn path=/trunk/; revision=133

17 years agoCreate two base classes: GenericDisplayItem and GenericDisplay, as
Marina Zhurakhinskaya [Sat, 20 Dec 2008 04:27:57 +0000 (04:27 +0000)]
Create two base classes: GenericDisplayItem and GenericDisplay, as
well as corresponding classes for applications and documents that inherit from
them.

Use half the height of the sideshow in the overlay mode for the
AppDisplay, and the other half for the DocDisplay.

Enable moving the selection between the two displays by using up and down arrow keys.

Enable activating any item by clicking on it, in addition to activating the currently selected item by pressing Enter.

Apply search entry content to both sets of items.

svn path=/trunk/; revision=132

17 years agoRemove accidentally introduced import of GtkClutter
Owen Taylor [Thu, 18 Dec 2008 22:16:51 +0000 (22:16 +0000)]
Remove accidentally introduced import of GtkClutter

An unused import of GtkClutter snuck in somehow, remove it.

svn path=/trunk/; revision=131

17 years agoAdd magic 'restart' command to run dialog which re-executes
Colin Walters [Thu, 18 Dec 2008 20:57:37 +0000 (20:57 +0000)]
Add magic 'restart' command to run dialog which re-executes

This is immensely convenient for debugging.  The shell global reexec_self
only works on Linux, sue me.

http://bugzilla.gnome.org/show_bug.cgi?id=565037

svn path=/trunk/; revision=130

17 years agoAdd full size icon+title to overlay
Colin Walters [Thu, 18 Dec 2008 18:50:09 +0000 (18:50 +0000)]
Add full size icon+title to overlay

The icon+text is useful in order to distinguish between windows
that might look similar otherwise.

The implementation is not optimal:

* We create a new texture from the pixmap each time

http://bugzilla.gnome.org/show_bug.cgi?id=563406

svn path=/trunk/; revision=129

17 years agoRepoint clutter to the new git repositories
Owen Taylor [Wed, 17 Dec 2008 16:52:05 +0000 (16:52 +0000)]
Repoint clutter to the new git repositories

clutter and clutter-cairo have moved to git; adjust our jhbuild
moduleset to match the new location.

svn path=/trunk/; revision=128

17 years agoTrack changes to the screen's n-workspaces property, and add and remove
Dan Winship [Mon, 15 Dec 2008 21:03:07 +0000 (21:03 +0000)]
Track changes to the screen's n-workspaces property, and add and remove
workspaces from the overlay as needed. #564181

svn path=/trunk/; revision=127

17 years agoUse a stable workspace ordering as rows and columns are added, rather than
Dan Winship [Mon, 15 Dec 2008 20:58:10 +0000 (20:58 +0000)]
Use a stable workspace ordering as rows and columns are added, rather than
just doing a simple row-major ordering

svn path=/trunk/; revision=126

17 years agochange the workspace zooming metaphor in the overlay
Dan Winship [Mon, 15 Dec 2008 20:55:24 +0000 (20:55 +0000)]
change the workspace zooming metaphor in the overlay

svn path=/trunk/; revision=125

17 years agoMake the workspaces view a temporary "widget", rather than having it always
Dan Winship [Mon, 15 Dec 2008 20:48:59 +0000 (20:48 +0000)]
Make the workspaces view a temporary "widget", rather than having it always
around

svn path=/trunk/; revision=124

17 years agoConvert some variable and file names to lowerCamelCase.
Marina Zhurakhinskaya [Tue, 9 Dec 2008 22:10:43 +0000 (22:10 +0000)]
Convert some variable and file names to lowerCamelCase.

Remove unused variables in AppDisplay::_filterAdd().

svn path=/trunk/; revision=123

17 years agoUse CompositeRedirectManual for tray icons
Owen Taylor [Fri, 5 Dec 2008 23:20:10 +0000 (23:20 +0000)]
Use CompositeRedirectManual for tray icons

We don't want the X server to draw the icons onto the screen, so
use pass automatic=FALSE to clutter_x11_texture_pixmap_set_window();
causing CompositeRedirectManual to be used.

svn path=/trunk/; revision=122

17 years agoUse idle handler for overlay key binding
Colin Walters [Fri, 5 Dec 2008 21:50:09 +0000 (21:50 +0000)]
Use idle handler for overlay key binding

Running into odd problems with the overlay/windows key breaking, hopefully
this will work around those.

svn path=/trunk/; revision=121

17 years agoConnect to overlay-key signal from metacity-clutter to hide/show overlay
Colin Walters [Fri, 5 Dec 2008 21:12:43 +0000 (21:12 +0000)]
Connect to overlay-key signal from metacity-clutter to hide/show overlay

We want to effectively bind the "Windows key" on PC hardware to hide
and show the overlay.

svn path=/trunk/; revision=120

17 years agoImprove test for using LIBGL_ALWAYS_INDIRECT
Owen Taylor [Fri, 5 Dec 2008 16:15:49 +0000 (16:15 +0000)]
Improve test for using LIBGL_ALWAYS_INDIRECT

Now that Clutter has support for ARB_texture_rectangle, we need
to enable EXT_texture_from_pixmap support more widely.

Parse the glxinfo output more accurately and detect when
EXT_texture_rectangle is supported client and server but not
is not active, and force indirect rendering only in that case.

svn path=/trunk/; revision=119

17 years agoAdd <mirror> nodes for the gnome repo declaration (copied from the
Dan Winship [Fri, 5 Dec 2008 14:14:36 +0000 (14:14 +0000)]
Add <mirror> nodes for the gnome repo declaration (copied from the
upstream gnome modulesets), to allow using the experimental git mirror
support. See http://bugzilla.gnome.org/show_bug.cgi?id=538507

svn path=/trunk/; revision=118

17 years agoremove debug thing
Dan Winship [Thu, 4 Dec 2008 15:22:51 +0000 (15:22 +0000)]
remove debug thing

svn path=/trunk/; revision=117

17 years agofix "desktop"/"workspace" naming confusion
Dan Winship [Thu, 4 Dec 2008 15:20:37 +0000 (15:20 +0000)]
fix "desktop"/"workspace" naming confusion

svn path=/trunk/; revision=116

17 years agoshow multiple workspaces in the overlay view. #563035
Dan Winship [Thu, 4 Dec 2008 15:16:16 +0000 (15:16 +0000)]
show multiple workspaces in the overlay view. #563035

svn path=/trunk/; revision=115

17 years agoAdd clutter-cairo to the gir-repository builddeps
Owen Taylor [Wed, 3 Dec 2008 22:16:55 +0000 (22:16 +0000)]
Add clutter-cairo to the gir-repository builddeps

We need to build clutter-cairo before gir-repository, since gir-repository
includes ClutterCairo.gir.

svn path=/trunk/; revision=114

17 years agoClear search text after activation
Colin Walters [Wed, 3 Dec 2008 20:18:10 +0000 (20:18 +0000)]
Clear search text after activation

svn path=/trunk/; revision=113

17 years agoBind Escape to clear search entry
Colin Walters [Wed, 3 Dec 2008 19:24:50 +0000 (19:24 +0000)]
Bind Escape to clear search entry

svn path=/trunk/; revision=112

17 years agofix incorrect variable name in _updateClock
Dan Winship [Wed, 3 Dec 2008 18:27:48 +0000 (18:27 +0000)]
fix incorrect variable name in _updateClock

svn path=/trunk/; revision=111

17 years agosplit the desktop area out of overlay.js
Dan Winship [Tue, 2 Dec 2008 16:15:00 +0000 (16:15 +0000)]
split the desktop area out of overlay.js

svn path=/trunk/; revision=110

17 years agoUse Big.Box for highlight box as well to get rounded corners
Colin Walters [Mon, 1 Dec 2008 23:48:07 +0000 (23:48 +0000)]
Use Big.Box for highlight box as well to get rounded corners

svn path=/trunk/; revision=108

17 years agoTweak clutter-cairo include path to fix build where clutter root != clutter-cairo...
Colin Walters [Mon, 1 Dec 2008 23:44:06 +0000 (23:44 +0000)]
Tweak clutter-cairo include path to fix build where clutter root != clutter-cairo root

svn path=/trunk/; revision=107

17 years agoAdd a README for the 'Big' actors
Owen Taylor [Mon, 1 Dec 2008 23:15:49 +0000 (23:15 +0000)]
Add a README for the 'Big' actors

src/big/README explains where the actors come from and warns
against installing them publically under the big_* names.

svn path=/trunk/; revision=106

17 years agoAdd clutter-cairo to moduleset
Colin Walters [Mon, 1 Dec 2008 23:14:12 +0000 (23:14 +0000)]
Add clutter-cairo to moduleset

We depend on it now for Big library

svn path=/trunk/; revision=105

17 years agoUse Big.Box for search entry to get rounded corners
Colin Walters [Mon, 1 Dec 2008 23:01:55 +0000 (23:01 +0000)]
Use Big.Box for search entry to get rounded corners

http://bugzilla.gnome.org/show_bug.cgi?id=562923

svn path=/trunk/; revision=104

17 years agoImport Big
Colin Walters [Mon, 1 Dec 2008 23:01:52 +0000 (23:01 +0000)]
Import Big

We want this for the BigBox primarily; rounded corners, etc.

http://bugzilla.gnome.org/show_bug.cgi?id=562923

svn path=/trunk/; revision=103

17 years agoSlide in the sidebar as the overlay appears
Owen Taylor [Mon, 1 Dec 2008 22:43:06 +0000 (22:43 +0000)]
Slide in the sidebar as the overlay appears

appdisplay.js: Add AppDisplay.actor property, remove the x/y parameters
  to the constructor, and don't automatically add the appdisplay
  to the stage.

overlay.js: Make the AppDisplay a child of the SideShow, rename
  SideShow._grid to SideShow.actor and slide the SideShow in when
  showing the stage.

http://bugzilla.gnome.org/show_bug.cgi?id=562920

svn path=/trunk/; revision=102

17 years agoFix width of application text items
Owen Taylor [Mon, 1 Dec 2008 21:53:49 +0000 (21:53 +0000)]
Fix width of application text items

appdisplay.js: Fix missing parentheses for computation of
  the available width for the application name and description.

svn path=/trunk/; revision=101

17 years agoAdjust to new Meta.typelib/Meta.gir locations
Colin Walters [Mon, 1 Dec 2008 20:42:56 +0000 (20:42 +0000)]
Adjust to new Meta.typelib/Meta.gir locations

Also put all our GI data in the private $(pkglibdir).

svn path=/trunk/; revision=100

17 years agoRemove debug logging, make activation work for non-search mode too
Colin Walters [Mon, 1 Dec 2008 20:03:55 +0000 (20:03 +0000)]
Remove debug logging, make activation work for non-search mode too

svn path=/trunk/; revision=99

17 years agoBug 562771 – The clock is inaccurate
Owen Taylor [Mon, 1 Dec 2008 19:59:59 +0000 (19:59 +0000)]
Bug 562771 – The clock is inaccurate

Fix the clock to update exactly on the minute, rather than at a random
time within the minute.

Patch from RainCT (Siegfried Gevatter)

svn path=/trunk/; revision=98

17 years agoRedo tabs => spaces indentation change to not lose manual indentation
Owen Taylor [Mon, 1 Dec 2008 19:51:43 +0000 (19:51 +0000)]
Redo tabs => spaces indentation change to not lose manual indentation

Revert most JS changes in commit:

    Fri Nov 28 20:12:20 2008 +0000
    Convert all JS style to be uniform, add Eclipse settings bits

Instead, just add 'indent-tabs-mode: nil' to the mode lines and convert
tabs to spaces. The indentation no longer exactly matches the Eclipse
settings, since they differ in some ways from the style we are trying
to achieve.

svn path=/trunk/; revision=97

17 years agoFix indent of first member
Colin Walters [Mon, 1 Dec 2008 17:19:58 +0000 (17:19 +0000)]
Fix indent of first member

svn path=/trunk/; revision=96

17 years agoFix missing line continuation
Owen Taylor [Sat, 29 Nov 2008 21:55:19 +0000 (21:55 +0000)]
Fix missing line continuation

Add a \ to the last GNOME_SHELL_DISABLE_TFP patch so that
launcher.py actually works.

svn path=/trunk/; revision=95

17 years agoFix GNOME_SHELL_DISABLE_DISABLE_TFP typo
Owen Taylor [Sat, 29 Nov 2008 21:44:19 +0000 (21:44 +0000)]
Fix GNOME_SHELL_DISABLE_DISABLE_TFP typo

In my last commit of RainCT's patch, I screwed up the
envvar name when moving the code around. This fixes that.

svn path=/trunk/; revision=94

17 years agoBug 562629 – gnome-shell-build-setup.sh: more Ubuntu dependencies
Owen Taylor [Sat, 29 Nov 2008 21:44:17 +0000 (21:44 +0000)]
Bug 562629 – gnome-shell-build-setup.sh: more Ubuntu dependencies

Improve gnome-build-setup.sh by:
 - Adding more required dependencies
 - Fixing message when $reqs has multiple words
 - Remove stray + from file
Patch from RainCT (Siegfried Gevatter).

svn path=/trunk/; revision=93

17 years agoBug 562633 – Use GNOME_SHELL_DISABLE_TFP environment variable
Owen Taylor [Sat, 29 Nov 2008 21:11:31 +0000 (21:11 +0000)]
Bug 562633 – Use GNOME_SHELL_DISABLE_TFP environment variable

Allow forcing off the texture_for_pixmap extension by environment
variable, since it is apparently buggy on old Intel cards with
certain driver versions

Based on patch from RainCT (Siegfried Gevatter)

svn path=/trunk/; revision=92

17 years agoAdd up/down keyboard arrow navigation to app display
Colin Walters [Fri, 28 Nov 2008 23:06:07 +0000 (23:06 +0000)]
Add up/down keyboard arrow navigation to app display

svn path=/trunk/; revision=91

17 years agoHook up activate on search entry to launch if only one app displayed
Colin Walters [Fri, 28 Nov 2008 22:05:09 +0000 (22:05 +0000)]
Hook up activate on search entry to launch if only one app displayed

svn path=/trunk/; revision=90

17 years agoBug 562604 - Close the Run Dialog when Escape is pressed
Colin Walters [Fri, 28 Nov 2008 20:48:38 +0000 (20:48 +0000)]
Bug 562604 - Close the Run Dialog when Escape is pressed

Patch from RainCT (Siegfried Gevatter).

svn path=/trunk/; revision=89

17 years agoAdd more Ubuntu requirements checking to build setup script
Colin Walters [Fri, 28 Nov 2008 20:35:32 +0000 (20:35 +0000)]
Add more Ubuntu requirements checking to build setup script
Signed-off-by: Colin Walters <walters@verbum.org>
svn path=/trunk/; revision=88

17 years agoConvert all JS style to be uniform, add Eclipse settings bits
Colin Walters [Fri, 28 Nov 2008 20:12:20 +0000 (20:12 +0000)]
Convert all JS style to be uniform, add Eclipse settings bits

Previous style was all over the place; this commit attempts to bring
uniformity.  Overall, the style is:

* 4 spaces only, no tabs
* Prototypes do not create a new block
* Constructor property continuations only indent one block

svn path=/trunk/; revision=87

17 years agoConvert users of static functions to new gjs syntax
Colin Walters [Wed, 26 Nov 2008 19:14:18 +0000 (19:14 +0000)]
Convert users of static functions to new gjs syntax

svn path=/trunk/; revision=86

17 years agoSearch executables as well
Colin Walters [Tue, 25 Nov 2008 23:50:00 +0000 (23:50 +0000)]
Search executables as well

We want "gedit" to find GEdit, which doesn't contain its name in either
the name or description.

svn path=/trunk/; revision=85

17 years agoAdd hardcoded default applications list taken from online.gnome.org
Colin Walters [Tue, 25 Nov 2008 19:58:49 +0000 (19:58 +0000)]
Add hardcoded default applications list taken from online.gnome.org

The previous list of all applications in a random order was obviously
temporary.  This patch improves things by adding a static list, taken
from the online.gnome.org/applications data.

In the future we will either have a vendor-chosen static list, or
a fully dynamic system.

http://bugzilla.gnome.org/show_bug.cgi?id=562184

svn path=/trunk/; revision=84

17 years agoAdd a concept of "going modal" by grabbing the keyboard
Owen Taylor [Mon, 24 Nov 2008 19:07:18 +0000 (19:07 +0000)]
Add a concept of "going modal" by grabbing the keyboard

shell-global.[ch]: Replace shell_global_focus_stage()
  with shell_global_grab_keyboard()/shell_global_ungrab_keyboard()
main.js: Add startModal()/endModal() functions to go modal and
  undo that.
run_dialog.js overlay.js main.js: Use startModal() for the overlay
  and for the run dialog.

http://bugzilla.gnome.org/show_bug.cgi?id=561880

svn path=/trunk/; revision=83

17 years agoAdd a bg-color property to ShellTrayManager
Owen Taylor [Mon, 24 Nov 2008 19:07:15 +0000 (19:07 +0000)]
Add a bg-color property to ShellTrayManager

shell_tray_manager.c: Add a bg-color property and implement it
 by setting a 1x1 pixmap of the right color as the background.

 Also, make the colormap of the tray manager window match that
 of the socket. That should (untested) make transparency work
 properly if the tray icon supports it.

panel.js: Set the bg-color property of the tray manager to
 match the panel.

http://bugzilla.gnome.org/show_bug.cgi?id=561872

svn path=/trunk/; revision=82

17 years agoImprove overlay mode's window scaling
Owen Taylor [Sun, 23 Nov 2008 04:23:34 +0000 (04:23 +0000)]
Improve overlay mode's window scaling

Add a layout for 5 windows and slightly increase the scale factor
for 3 and 4 windows.

Patch from Natan Yellin
http://bugzilla.gnome.org/show_bug.cgi?id=561947

svn path=/trunk/; revision=81

17 years agoTweak the animation when the overlay comes up
Owen Taylor [Sun, 23 Nov 2008 04:12:37 +0000 (04:12 +0000)]
Tweak the animation when the overlay comes up

- Make the time a bit longer (now that we control timing in Tweener
  better it actually takes the time we specify)
- Use easeOutQuad so that we get a "soft landing" into position
- Move the anchor point of the Desktop to NorthEast to reduce jitter

svn path=/trunk/; revision=80

17 years agoUse a Tweener "Frame Ticker" with a ClutterTimeline backend
Owen Taylor [Sun, 23 Nov 2008 04:12:34 +0000 (04:12 +0000)]
Use a Tweener "Frame Ticker" with a ClutterTimeline backend

Call Tweener.setFrameTicker() with a custom object that bridges to
ClutterTimeline to get new frame notifications. Combined with a
hack to dynamically adjust the frame ticker's frame rate when
Clutter drops frames, this means that our animations play in the
intended time even if rendering is too slow to maintain a full
60HZ frame rate.

http://bugzilla.gnome.org/show_bug.cgi?id=561745

svn path=/trunk/; revision=79

17 years agoimplement a basic switch_workspace animation using Tweener. #561835
Dan Winship [Fri, 21 Nov 2008 21:34:10 +0000 (21:34 +0000)]
implement a basic switch_workspace animation using Tweener. #561835

svn path=/trunk/; revision=78

17 years agoFix app event handling
Colin Walters [Fri, 21 Nov 2008 20:45:35 +0000 (20:45 +0000)]
Fix app event handling

We need to hook up to events on the group, and not set higher level
actors to be reactive.

svn path=/trunk/; revision=77

17 years agoUse _deactivate rather than hide so we correctly reset input area
Colin Walters [Fri, 21 Nov 2008 20:45:33 +0000 (20:45 +0000)]
Use _deactivate rather than hide so we correctly reset input area

svn path=/trunk/; revision=76

17 years agoFix application layout to use parent relative coordinates
Colin Walters [Fri, 21 Nov 2008 20:01:15 +0000 (20:01 +0000)]
Fix application layout to use parent relative coordinates

We were previously incorrectly assuming origin relative here.

svn path=/trunk/; revision=75

17 years agorevert some broken bits from previous patch that weren't supposed to have
Dan Winship [Fri, 21 Nov 2008 15:33:00 +0000 (15:33 +0000)]
revert some broken bits from previous patch that weren't supposed to have
been committed

svn path=/trunk/; revision=74

17 years agoremove some cruft
Dan Winship [Fri, 21 Nov 2008 15:10:11 +0000 (15:10 +0000)]
remove some cruft

svn path=/trunk/; revision=73

17 years agoRename MENU_ -> APPDISPLAY_ to correspond with other renames
Colin Walters [Fri, 21 Nov 2008 15:08:34 +0000 (15:08 +0000)]
Rename MENU_ -> APPDISPLAY_ to correspond with other renames

svn path=/trunk/; revision=72

17 years agoMonitor applications directory, not toplevel
Colin Walters [Fri, 21 Nov 2008 15:06:43 +0000 (15:06 +0000)]
Monitor applications directory, not toplevel

svn path=/trunk/; revision=71

17 years agoadd the initial framework of a window management interface. #561724
Dan Winship [Fri, 21 Nov 2008 14:02:09 +0000 (14:02 +0000)]
add the initial framework of a window management interface. #561724

svn path=/trunk/; revision=70

17 years agofix import ordering
Dan Winship [Fri, 21 Nov 2008 13:54:25 +0000 (13:54 +0000)]
fix import ordering

svn path=/trunk/; revision=69

17 years agoMerge branch 'appmenu'
Colin Walters [Fri, 21 Nov 2008 00:53:11 +0000 (00:53 +0000)]
Merge branch 'appmenu'

svn path=/trunk/; revision=68

17 years agoAdd a convenience function for setting an image for ClutterTexture based on GdkPixbuf.
Marina Zhurakhinskaya [Fri, 21 Nov 2008 00:39:14 +0000 (00:39 +0000)]
Add a convenience function for setting an image for ClutterTexture based on GdkPixbuf.

svn path=/trunk/; revision=67

17 years agoFix up previous change; connect to signals correctly
Colin Walters [Thu, 20 Nov 2008 15:47:13 +0000 (15:47 +0000)]
Fix up previous change; connect to signals correctly

svn path=/trunk/; revision=66

17 years agoConvert run dialog to gjs signals
Colin Walters [Thu, 20 Nov 2008 15:40:44 +0000 (15:40 +0000)]
Convert run dialog to gjs signals

svn path=/trunk/; revision=65

17 years agoBug 561588 – New run dialog
Owen Taylor [Wed, 19 Nov 2008 23:21:42 +0000 (23:21 +0000)]
Bug 561588 – New run dialog

Add a new clutter-based "Run Dialog" and trigger that off of Alt-F2
instead of running a gnome-terminal instance.

Patch from Sander Dijkhuis.

svn path=/trunk/; revision=64

17 years agoSet a strut to prevent windows under the panel
Owen Taylor [Wed, 19 Nov 2008 23:04:53 +0000 (23:04 +0000)]
Set a strut to prevent windows under the panel

Set a strut (a reserved region) at the top of the screen so that
windows don't get positioned under the panel. Do this on all
workspaces and redo it when the number of workspaces changes.
http://bugzilla.gnome.org/show_bug.cgi?id=561297

svn path=/trunk/; revision=63

17 years agoRename 'panel' local to 'me'
Owen Taylor [Wed, 19 Nov 2008 23:04:50 +0000 (23:04 +0000)]
Rename 'panel' local to 'me'

To match our style other places, use 'me' rather than 'panel' when
we want a substitute for 'this' that we can refer to from closures.

svn path=/trunk/; revision=62